using HuiLian.Common.Input;
using HuiLian.Service.Platform.MapLayer.Input;
using HuiLian.Common.Output;
using HuiLian.Model.Platform;
using System.Threading.Tasks;

namespace HuiLian.Service.Platform.MapLayer
{
    /// <summary>
    /// 地图加载的图层列表接口
    /// </summary>
    public interface IMapLayerService
    {
        /// <summary>
        /// 获取地图加载的图层列表信息
        /// </summary>
        /// <param name="id">主键</param>
        /// <returns></returns>
        Task<IResponseOutput> GetAsync(long id);

        /// <summary>
        /// 查询地图加载的图层列表信息
        /// </summary>
        /// <param name="input">分页信息</param>
        /// <returns></returns>
        Task<IResponseOutput> PageAsync(PageInput<MapLayerEntity> input);

        /// <summary>
        /// 添加地图加载的图层列表信息
        /// </summary>
        /// <param name="input">地图加载的图层列表信息</param>
        /// <returns></returns>
        Task<IResponseOutput> AddAsync(MapLayerAddInput input);

        /// <summary>
        /// 更新地图加载的图层列表信息
        /// </summary>
        /// <param name="input">地图加载的图层列表信息</param>
        /// <returns></returns>
        Task<IResponseOutput> UpdateAsync(MapLayerUpdateInput input);

        /// <summary>
        /// 删除地图加载的图层列表信息
        /// </summary>
        /// <param name="id">主键</param>
        /// <returns></returns>
        Task<IResponseOutput> DeleteAsync(long id);

        /// <summary>
        /// 软删除地图加载的图层列表信息
        /// </summary>
        /// <param name="id">主键</param>
        /// <returns></returns>
        Task<IResponseOutput> SoftDeleteAsync(long id);

        /// <summary>
        /// 批量软删除
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<IResponseOutput> BatchSoftDeleteAsync(long[] ids);
    }
}
